.tools-aiChat-page{
    padding: 0;
    display: flex;
    flex-direction: row;
    background-color: rgba(0,0,0,0.005);
    height: 100vh;
    .history-list{
        flex: none;
        width: 350px;
        height: 100%;
        background: linear-gradient(to right, rgba(255,255,255,0.3), rgba(255,255,255,0.9));
        box-sizing: border-box;
        box-shadow: 0 0 4px 2px rgba(0,0,0,0.1);
    }
    .chat-wrap{
        position: relative;
        flex: 1;
        height: 100vh;
        box-sizing: border-box;
        overflow-y: auto;
        .message-list{
            // outline: 1px solid #f00;
            box-sizing: border-box;
            width: 100%;
            height: calc(100vh - 150px);
            overflow-y: auto;
        }
        .chat-input{
            position: absolute;
            bottom: 10px;
            left: 12px;
            right: 12px;
            box-sizing: border-box;
        }
        .chat-tips{
            display: none;
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            text-align: center;
            font-size: 12px;
            line-height: 24px;
            color: #999;
        }
    }
}

@media screen and (max-width: 768px) {
    .tools-aiChat-page{
        .history-list{
            position: fixed;
            width: 240px;
            left: 0;
            top: 0;
            bottom: 0;
            z-index: 2;
            opacity: 0;
            transform: translateX(-160vw);
            will-change: opacity, transform;
            transition: opacity 0.4s ease-out, transform 0.4s ease-out;
            background: #f0f0f0;
            &:before{
                content: "";
                position: absolute;
                top: 0;
                width: 100vw;
                bottom: 0;
                left: 240px;
                z-index: 1;
                background-color: rgba(0,0,0,0.5);
            }
            &.show{
                opacity: 1;
                transform: translateX(0);
            }
        }
        .chat-wrap{
            .message-list{
                height: calc(100vh - 125px);
            }
            .chat-input{
                bottom: 7px;
                left: 8px;
                right: 8px;
            }
        }
    }
}